2020-2021 Sunseeker Telemetry and Lighting System
mpy32_ex5_16bitUnsignedMultiplyAccum.c File Reference
#include "driverlib.h"

Go to the source code of this file.

Functions

void main (void)
 

Function Documentation

◆ main()

void main ( void  )

MPY - 16x16 Unsigned Multiply Accumulate

Hardware multiplier is used to multiply two numbers. The calculation is automatically initiated after the second operand is loaded. A second multiply accumulate operation is performed after that. Results are stored in RESLO and RESHI. SUMEXT contains the carry of the result.

ACLK = 32.768kHz, MCLK = SMCLK = default DCO

Tested On: MSP430F5438A,MSP430FR5739,MSP430FR5969,MSP430FR2433

/ |
RST

| | | |

This example uses the following peripherals and I/O signals. You must review these and change as needed for your own board:

  • MPY peripheral

This example uses the following interrupt handlers. To use this example in your own application you must add these interrupt handlers to your vector table.

  • NONE

Definition at line 64 of file mpy32_ex5_16bitUnsignedMultiplyAccum.c.

References __no_operation().